from pydantic import BaseModel
from datetime import datetime


class MainStatistics(BaseModel):
    all_ads_count: int
    last_ads_count: int
    active_tasks_count: int


class ActiveTask(BaseModel):
    task: str
    searchQuery: str
    added_at: datetime


class DataForChart(BaseModel):
    categories: list[str]
    data: list[int]
